<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:cfn="http://web.conquest.meb.org/function"
	xmlns:pretty="http://ocpsoft.com/prettyfaces">

	<h:panelGroup styleClass="row" layout="block">
		<h:panelGroup class="col-5 col-left" rendered="#{_squareLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['ARMY']}" />
				<ui:param name="_cardGroupPartTitle" value="Armia" />
			</ui:include>
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['ATTACHMENT']}" />
				<ui:param name="_cardGroupPartTitle" value="Dodatek" />
			</ui:include>
		</h:panelGroup>

		<h:panelGroup class="col-5 col-left" rendered="#{_squareLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['EVENT']}" />
				<ui:param name="_cardGroupPartTitle" value="Zdarzenie" />
			</ui:include>
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['SUPPORT']}" />
				<ui:param name="_cardGroupPartTitle" value="Wsparcie" />
			</ui:include>
		</h:panelGroup>

		<h:panelGroup class="col-left" rendered="#{_lineLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['ARMY']}" />
				<ui:param name="_cardGroupPartTitle" value="Armia" />
			</ui:include>
		</h:panelGroup>
		<h:panelGroup class="col-middle" rendered="#{_lineLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['ATTACHMENT']}" />
				<ui:param name="_cardGroupPartTitle" value="Dodatek" />
			</ui:include>
		</h:panelGroup>
		<h:panelGroup class="col-middle" rendered="#{_lineLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['EVENT']}" />
				<ui:param name="_cardGroupPartTitle" value="Wydarzenie" />
			</ui:include>
		</h:panelGroup>
		<h:panelGroup class="col-right" rendered="#{_lineLayout}" layout="block">
			<ui:include src="cardGroup.xhtml">
				<ui:param name="_cardGroupItems" value="#{_cardGroup.byType['SUPPORT']}" />
				<ui:param name="_cardGroupPartTitle" value="Wsparcie" />
			</ui:include>
		</h:panelGroup>

	</h:panelGroup>

</ui:composition>